package edu.ynu.se.xiecheng.achitectureclass.project.dao;

import edu.ynu.se.xiecheng.achitectureclass.project.po.entity.Token;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface SoilTokenDAO extends JpaRepository<Token, Long> {
    Optional<Token> findByTypeAndIsDeleted(String type, Integer isDeleted);
}